#include <stdio.h>

int main()
{
    int a,b;
    a = 234;
    b = ~a;
    printf("The a's 1 complement(decimal) is %d.\n",b);
    a = ~a;
    printf("The a's 1 complement(hexidecimal) is %d.\n",a);
}